package br.com.fiap.atividade6.decorator;

public aspect Decorator {

	declare precedence: Decorator, StringDecorator;

	protected pointcut print(String s): 
	call(public void Saida.print(String)) && args(s);

	void around(String s): print(s) {
		s = " *** " + s + " *** ";
		proceed(s);
	}

}
